package cn.xiyue.production.bean;

import cn.xiyue.production.annotation.ColumnName;

public class Store {

    /**
     * num : 1
     * userFactoryId : 1
     * carTypeId : 1
     * id : 1
     * type : 0
     * userLineId : 1
     */

    @ColumnName(value = "数量", index = 3)
    private int num;
    private int userFactoryId;
    @ColumnName(value = "车辆类型", index = 2)
    private String carTypeName;
    private int carTypeId;
    @ColumnName(value = "ID", index = 1)
    private int id;
    @ColumnName(value = "占地面积", index = 4)
    private int size;
    private int type;
    @ColumnName(value = "合格", index = 6)
    private String typeName;
    @ColumnName(value = "生产线", index = 5)
    private int userLineId;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public int getUserFactoryId() {
        return userFactoryId;
    }

    public void setUserFactoryId(int userFactoryId) {
        this.userFactoryId = userFactoryId;
    }

    public int getCarTypeId() {
        return carTypeId;
    }

    public void setCarTypeId(int carTypeId) {
        this.carTypeId = carTypeId;
    }

    public int getId() {
        return id;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getUserLineId() {
        return userLineId;
    }

    public void setUserLineId(int userLineId) {
        this.userLineId = userLineId;
    }

    @Override
    public String toString() {
        return "Store{" +
                "num=" + num +
                ", userFactoryId=" + userFactoryId +
                ", carTypeName='" + carTypeName + '\'' +
                ", carTypeId=" + carTypeId +
                ", id=" + id +
                ", size=" + size +
                ", type=" + type +
                ", userLineId=" + userLineId +
                '}';
    }
}
